<?php
require("platby-top.dat");
?>

<div class="content">
<?php
	mysql_query("DELETE FROM platby WHERE p_id=".$_POST["p_id"].";") or die(mysql_error());
	echo("Platba vymazana z db.");
?>
</div>

<?php
require("platby-end.dat");
?>